package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the HOSP_PATIENT_WAIT_MEDICINE database table.
 * 
 */
@Entity
@Table(name="HOSP_PATIENT_WAIT_MEDICINE")
@NamedQuery(name="HospPatientWaitMedicine.findAll", query="SELECT h FROM HospPatientWaitMedicine h")
public class HospPatientWaitMedicine implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="WAIT_MEDICINE_ID")
	private String waitMedicineId;

	@Column(name="SEQUENCE_")
	private BigDecimal sequence;

	//bi-directional many-to-one association to HospPatientRegistration
	@ManyToOne
	@JoinColumn(name="PATIENT_REGISTRATION_ID")
	private HospPatientRegistration hospPatientRegistration;

	public HospPatientWaitMedicine() {
	}

	public String getWaitMedicineId() {
		return this.waitMedicineId;
	}

	public void setWaitMedicineId(String waitMedicineId) {
		this.waitMedicineId = waitMedicineId;
	}

	public BigDecimal getSequence() {
		return this.sequence;
	}

	public void setSequence(BigDecimal sequence) {
		this.sequence = sequence;
	}

	public HospPatientRegistration getHospPatientRegistration() {
		return this.hospPatientRegistration;
	}

	public void setHospPatientRegistration(HospPatientRegistration hospPatientRegistration) {
		this.hospPatientRegistration = hospPatientRegistration;
	}

}